import HttpRequestManager from "./base/HttpRequestManager";

export default class AccountRequestManager {
    /**
      * 账号密码登录
      * @param username
      * @param password
      * @param captcha_code
      * @returns {返回Promise}
      */
    static login(username, password) {
      let formData = {
        loginName: username,
        loginPwd: password,
        mLoginType: 1
      };
      return HttpRequestManager.getInstance().post('/api/driver/login', formData)
    }

    /**
     * 登出
     */
    static logout() {

    }
  }